package com.wl.dzt.basic.entity;

import com.wl.dzt.sys.annotation.Column;
import com.wl.dzt.sys.annotation.Table;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.wl.dzt.basic.entity.BasicRole;
import com.wl.dzt.basic.entity.BasicOrganization;

import java.io.Serializable;

@ApiModel("BasicRoleOrganization")
@Table("basic_role_organization")
public class BasicRoleOrganization implements Serializable {

    @ApiModelProperty(value = "角色编号", name = "roleId")
    @Column(value = "role_id", text = "角色编号", maxLength = 32)
    private BasicRole roleId;


    @ApiModelProperty(value = "编号", name = "id")
    @Column(value = "id", text = "编号", maxLength = 32)
    private String id;


    @ApiModelProperty(value = "组织机构编号", name = "organId")
    @Column(value = "organ_id", text = "组织机构编号", maxLength = 32)
    private BasicOrganization organId;

    public BasicRole getRoleId() {
        return roleId;
    }

    public void setRoleId(BasicRole roleId) {
        this.roleId = roleId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public BasicOrganization getOrganId() {
        return organId;
    }

    public void setOrganId(BasicOrganization organId) {
        this.organId = organId;
    }
}
